package com.rc.saas.mini.common.constant;

/**
 * Author: sven
 * Update: 2018-02-01 09:54
 */
public interface SessionConstants {
    //解绑子会员前缀
    String SESSION_MINI_UNTYING_PREFIX = "untying";

    //注册验证码前缀
    String SESSION_PREFIX_REGISTER = "saas_mini_register";
    //登录验证码前缀
    String SESSION_PREFIX_LOGIN = "saas_mini_login";
    //绑定手机验证码前缀
    String SESSION_PREFIX_BIND_MOBILE = "saas_mini_bind_mobile";
    //重置密码验证码前缀
    String SESSION_PREFIX_RESET_PWD = "saas_mini_reset_password";

    //获取手机短信验证码以绑定主帐号
    String SESSION_MINI_BINDENT_KEY = "sms:mini:bindEnt:";

    //使用验证码解绑子会员
    String SESSION_MINI_UNBINDENT_KEY = "sms:mini:unbindEnt:";

    String SESSION_TOKEN = "saas_session_token";

    //运营商
    String SESSION_TENANT = "saa_session_tenant";

    //OPENID
    String SESSION_OPENID = "saas_session_openid";
    //UNIONID
    String SESSION_UNIONID = "saas_session_unionid";
    //MOBILE
    String SESSION_MOBILE = "saas_session_mobile";

    //SESSION_KEY
    String SESSION_KEY = "saas_session_key";

    //原始ID
    String SESSION_ORIGINALID = "saas_session_originalid";

    //tenantPrefix
    //String SESSION_TENANTPREFIX = "saas_session_weixin_tenantPrefix";
    //NICKNAME
    String SESSION_NICKNAME = "saas_session_nickname";
    //运营商
    String SESSION_USER = "saas_session_user";

    //缓存信息
    String CACHE_WXCONFIG_TEMP = "saas:cache:{0}:miniconfig";

}
